home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6047 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news.lmu.edu!aminier@popmail.lmu.edu
  2. From: Ray Toal <rtoal@eecs.lmu.edu>
  3. Newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c
  4. Subject: Re: C++ vs Ada for large project
  5. Date: 11 Feb 1996 03:36:53 GMT
  6. Organization: Loyola Marymount University
  7. Message-ID: <4fjo8l$251@ux1.lmu.edu>
  8. References: <w4wx5wc1a2.fsf@cln46ac> <4ffjrq$i8k@qualcomm.com> <4fgn1t$ku8@nntpa.cb.att.com>
  9. NNTP-Posting-Host: 157.242.68.31
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1 (Windows; U; 16bit)
  14.  
  15. ka@socrates.hr.att.com (Kenneth Almquist) wrote:
  16. >Here is a real life story which illustrates why ".h" files are not
  17. >a substitute for modules.
  18. [relevant example snipped]
  19.  
  20. True, .h files really are not a substitute for modules and header
  21. files including other header files do tend to make a mess of things,
  22. but two comments:
  23.  
  24. 1.  The C (and to some lesser extent C++) philosophy regarding
  25.     the construction of large software systems is that it is something
  26.     extra-lingual - in other words, left to program development
  27.     "tools" (unlike Ada which in my opinion wisely defines the
  28.     physical structuring of the system in the source code)
  29.  
  30. 2.  C++ has namespaces (now) which greatly help.
  31.  
  32. I do wonder, though, to what extent the "newer" features of C++ (strings,
  33. namespaces, etc.) will be used in practice.  There are a lot of
  34. programmers who get by with header files, char*'s and so on.
  35.  
  36.  
  37.